Optimal. Leaf size=87 \[ \frac{b f^3 \tanh ^{-1}\left (\frac{b+2 c (d+e x)^2}{\sqrt{b^2-4 a c}}\right )}{2 c e \sqrt{b^2-4 a c}}+\frac{f^3 \log \left (a+b (d+e x)^2+c (d+e x)^4\right )}{4 c e} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.127477, antiderivative size = 87, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {1142, 1114, 634, 618, 206, 628} \[ \frac{b f^3 \tanh ^{-1}\left (\frac{b+2 c (d+e x)^2}{\sqrt{b^2-4 a c}}\right )}{2 c e \sqrt{b^2-4 a c}}+\frac{f^3 \log \left (a+b (d+e x)^2+c (d+e x)^4\right )}{4 c e} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1142
Rule 1114
Rule 634
Rule 618
Rule 206
Rule 628
Rubi steps
\begin{align*} \int \frac{(d f+e f x)^3}{a+b (d+e x)^2+c (d+e x)^4} \, dx &=\frac{f^3 \operatorname{Subst}\left (\int \frac{x^3}{a+b x^2+c x^4} \, dx,x,d+e x\right )}{e}\\ &=\frac{f^3 \operatorname{Subst}\left (\int \frac{x}{a+b x+c x^2} \, dx,x,(d+e x)^2\right )}{2 e}\\ &=\frac{f^3 \operatorname{Subst}\left (\int \frac{b+2 c x}{a+b x+c x^2} \, dx,x,(d+e x)^2\right )}{4 c e}-\frac{\left (b f^3\right ) \operatorname{Subst}\left (\int \frac{1}{a+b x+c x^2} \, dx,x,(d+e x)^2\right )}{4 c e}\\ &=\frac{f^3 \log \left (a+b (d+e x)^2+c (d+e x)^4\right )}{4 c e}+\frac{\left (b f^3\right ) \operatorname{Subst}\left (\int \frac{1}{b^2-4 a c-x^2} \, dx,x,b+2 c (d+e x)^2\right )}{2 c e}\\ &=\frac{b f^3 \tanh ^{-1}\left (\frac{b+2 c (d+e x)^2}{\sqrt{b^2-4 a c}}\right )}{2 c \sqrt{b^2-4 a c} e}+\frac{f^3 \log \left (a+b (d+e x)^2+c (d+e x)^4\right )}{4 c e}\\ \end{align*}
Mathematica [A] time = 0.0418863, size = 80, normalized size = 0.92 \[ \frac{f^3 \left (\log \left (a+b (d+e x)^2+c (d+e x)^4\right )-\frac{2 b \tan ^{-1}\left (\frac{b+2 c (d+e x)^2}{\sqrt{4 a c-b^2}}\right )}{\sqrt{4 a c-b^2}}\right )}{4 c e} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.004, size = 154, normalized size = 1.8 \begin{align*}{\frac{{f}^{3}}{2\,e}\sum _{{\it \_R}={\it RootOf} \left ( c{e}^{4}{{\it \_Z}}^{4}+4\,cd{e}^{3}{{\it \_Z}}^{3}+ \left ( 6\,c{d}^{2}{e}^{2}+b{e}^{2} \right ){{\it \_Z}}^{2}+ \left ( 4\,c{d}^{3}e+2\,bde \right ){\it \_Z}+c{d}^{4}+b{d}^{2}+a \right ) }{\frac{ \left ({{\it \_R}}^{3}{e}^{3}+3\,{{\it \_R}}^{2}d{e}^{2}+3\,{\it \_R}\,{d}^{2}e+{d}^{3} \right ) \ln \left ( x-{\it \_R} \right ) }{2\,c{e}^{3}{{\it \_R}}^{3}+6\,cd{e}^{2}{{\it \_R}}^{2}+6\,c{d}^{2}e{\it \_R}+2\,c{d}^{3}+be{\it \_R}+bd}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (e f x + d f\right )}^{3}}{{\left (e x + d\right )}^{4} c +{\left (e x + d\right )}^{2} b + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.56381, size = 977, normalized size = 11.23 \begin{align*} \left [\frac{\sqrt{b^{2} - 4 \, a c} b f^{3} \log \left (\frac{2 \, c^{2} e^{4} x^{4} + 8 \, c^{2} d e^{3} x^{3} + 2 \, c^{2} d^{4} + 2 \,{\left (6 \, c^{2} d^{2} + b c\right )} e^{2} x^{2} + 2 \, b c d^{2} + 4 \,{\left (2 \, c^{2} d^{3} + b c d\right )} e x + b^{2} - 2 \, a c +{\left (2 \, c e^{2} x^{2} + 4 \, c d e x + 2 \, c d^{2} + b\right )} \sqrt{b^{2} - 4 \, a c}}{c e^{4} x^{4} + 4 \, c d e^{3} x^{3} + c d^{4} +{\left (6 \, c d^{2} + b\right )} e^{2} x^{2} + b d^{2} + 2 \,{\left (2 \, c d^{3} + b d\right )} e x + a}\right ) +{\left (b^{2} - 4 \, a c\right )} f^{3} \log \left (c e^{4} x^{4} + 4 \, c d e^{3} x^{3} + c d^{4} +{\left (6 \, c d^{2} + b\right )} e^{2} x^{2} + b d^{2} + 2 \,{\left (2 \, c d^{3} + b d\right )} e x + a\right )}{4 \,{\left (b^{2} c - 4 \, a c^{2}\right )} e}, \frac{2 \, \sqrt{-b^{2} + 4 \, a c} b f^{3} \arctan \left (-\frac{{\left (2 \, c e^{2} x^{2} + 4 \, c d e x + 2 \, c d^{2} + b\right )} \sqrt{-b^{2} + 4 \, a c}}{b^{2} - 4 \, a c}\right ) +{\left (b^{2} - 4 \, a c\right )} f^{3} \log \left (c e^{4} x^{4} + 4 \, c d e^{3} x^{3} + c d^{4} +{\left (6 \, c d^{2} + b\right )} e^{2} x^{2} + b d^{2} + 2 \,{\left (2 \, c d^{3} + b d\right )} e x + a\right )}{4 \,{\left (b^{2} c - 4 \, a c^{2}\right )} e}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 2.15366, size = 332, normalized size = 3.82 \begin{align*} \left (- \frac{b f^{3} \sqrt{- 4 a c + b^{2}}}{4 c e \left (4 a c - b^{2}\right )} + \frac{f^{3}}{4 c e}\right ) \log{\left (\frac{2 d x}{e} + x^{2} + \frac{- 8 a c e \left (- \frac{b f^{3} \sqrt{- 4 a c + b^{2}}}{4 c e \left (4 a c - b^{2}\right )} + \frac{f^{3}}{4 c e}\right ) + 2 a f^{3} + 2 b^{2} e \left (- \frac{b f^{3} \sqrt{- 4 a c + b^{2}}}{4 c e \left (4 a c - b^{2}\right )} + \frac{f^{3}}{4 c e}\right ) + b d^{2} f^{3}}{b e^{2} f^{3}} \right )} + \left (\frac{b f^{3} \sqrt{- 4 a c + b^{2}}}{4 c e \left (4 a c - b^{2}\right )} + \frac{f^{3}}{4 c e}\right ) \log{\left (\frac{2 d x}{e} + x^{2} + \frac{- 8 a c e \left (\frac{b f^{3} \sqrt{- 4 a c + b^{2}}}{4 c e \left (4 a c - b^{2}\right )} + \frac{f^{3}}{4 c e}\right ) + 2 a f^{3} + 2 b^{2} e \left (\frac{b f^{3} \sqrt{- 4 a c + b^{2}}}{4 c e \left (4 a c - b^{2}\right )} + \frac{f^{3}}{4 c e}\right ) + b d^{2} f^{3}}{b e^{2} f^{3}} \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.47233, size = 387, normalized size = 4.45 \begin{align*} -\frac{\sqrt{b^{2} - 4 \, a c} b c f^{3} e \log \left ({\left | 2 \,{\left (b + \sqrt{b^{2} - 4 \, a c}\right )} x^{2} e^{6} + 4 \,{\left (b + \sqrt{b^{2} - 4 \, a c}\right )} d x e^{5} + 2 \,{\left (b + \sqrt{b^{2} - 4 \, a c}\right )} d^{2} e^{4} + 4 \, a e^{4} \right |}\right )}{4 \,{\left (b^{2} c^{2} e^{2} - 4 \, a c^{3} e^{2}\right )}} + \frac{\sqrt{b^{2} - 4 \, a c} b c f^{3} e \log \left ({\left | -2 \,{\left (b - \sqrt{b^{2} - 4 \, a c}\right )} x^{2} e^{6} - 4 \,{\left (b - \sqrt{b^{2} - 4 \, a c}\right )} d x e^{5} - 2 \,{\left (b - \sqrt{b^{2} - 4 \, a c}\right )} d^{2} e^{4} - 4 \, a e^{4} \right |}\right )}{4 \,{\left (b^{2} c^{2} e^{2} - 4 \, a c^{3} e^{2}\right )}} + \frac{f^{3} e^{\left (-1\right )} \log \left ({\left | c x^{4} e^{4} + 4 \, c d x^{3} e^{3} + 6 \, c d^{2} x^{2} e^{2} + 4 \, c d^{3} x e + c d^{4} + b x^{2} e^{2} + 2 \, b d x e + b d^{2} + a \right |}\right )}{4 \, c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]